<template>
    <a-table :columns="columns" :data-source="data" :pagination="false">

    </a-table>
</template>

<script>
export default {
    name: "fnTable",
    props:{
        data:{
            type:Array,
            default(){
                return[]
            },
        }
    },
    data(){
        return{
            columns:[
                {
                    title: "事件名称",
                    dataIndex: "name",
                    key: "name",
                },
                {
                    title: "说明",
                    dataIndex: "description",
                    key: "description",
                },
                {
                    title: "回调参数",
                    dataIndex: "callback",
                    key: "callback",
                },
            ]
        }
    },
}
</script>

<style scoped>

</style>